-- card: 31715 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4507 -- name: -- part 13 (button) -- low flags: 00 -- high flags: 0004 -- rect: left=296 top=229 right=270 bottom=344 -- title width / last selected line: 0 -- icon id / first selected line: 32670 / 32670 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp push card Show all cards pop card end mouseUp -- part 14 (field) -- low flags: 01 -- high flags: 2004 -- rect: left=19 top=217 right=286 bottom=284 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part contents for background part 43 ----- text ----- 267,189 -- part contents for background part 1 ----- text ----- When you copy an object such as a button or a field, you also copy any script the object has. Copying buttons and modifying their scripts is the easiest way to learn how to program with HyperTalk. Start by copying buttons from the Button Ideas stack. Open the buttons' scripts to see how they work. Modify the scripts; and cut and paste among scripts. -- part contents for background part 2 ----- text ----- Introduction to HyperTalk (cont.) -- part contents for background part 44 ----- text ----- Copying scripts -- part contents for card part 14 ----- text ----- Option-Shift-drag with the Button tool to copy this button. Double-click the copy and click Script to edit its script. Select the word "all" and type "10" to have the button show just 10 cards instead of the entire stack.